<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>B06公寓选房</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Save for Web Styles (七层.psd) -->
<link href="css/B06_cut_03.css" rel="stylesheet" type="text/css" />
<!-- End Save for Web Styles -->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.query.js"></script>
<script type="text/javascript" src="js/adminShowRoom.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		//通过url地址获取层数的参数
		var url = parent.window.location.href;
		var floor = $.query.load(url).get("f");
		$("div[id*='B06-']").each(function() {
			var room = $(this);
			var id = room.attr("id");
			var patten = /^B06-\d{2}-\d{2}$/;

			room.addClass(id);

			if (patten.test(id)) {
				room.attr("id","o_"+id);
				setRoomState(id, function(){
					showRoom(id);
				}, "black");
				room.click(function(){					
					showRoom(id);
				}); 				
			}
		});
		//获取该层的所有房间信息
		$.post("AjaxAction!getRoomInfo.action", {
			department : "B06",
			floor : floor
		}, function(data) {
			$(data).each(function(i) {
				var func = function(){
					showRoom(data[i].room_number);
				};
				if (data[i].total == data[i].current || data[i].chooseAble == 0) {
					setRoomState(data[i].room_number, func, "black");
				} else {
					if (data[i].gender_type == '0') { //男生房间用蓝色遮罩层
						setRoomState(data[i].room_number, func, "blue");
					} else { //女生房间用红色遮罩层表示
						setRoomState(data[i].room_number, func, "red");
					}
				}
			});
		}, "json");
	});
</script>
</head>
<body
	style="background-color: #FFFFFF; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;">
	<!-- Save for Web Slices (七层.psd) -->
	<div id="__01">
		<div id="chooseInfo">
			<p style="margin: 5px 0 0 30px">
				<span>当前房间：</span><span id="currentRoom">无</span>
			</p>
			<p style="margin: 5px 0 0 30px">
				<span>开放状态：</span><span id="roomState">无</span>
			</p>
			<p style="margin: 5px 0 0 30px">
				<span>房间类型：</span><span id="roomSex">无</span>
			</p>
			<p style="margin: 5px 0 0 30px">
				<span>空余床位：</span><span id="leftBed">无</span>
			</p>
			<p style="margin: 5px 0 0 30px">
				<button id="changeBt" disabled class="button"
					onclick="changeRoomState()">修改</button>
			</p>
		</div>
		<div id="bed" style="visibility: visible"></div>
		<div id="B06-L03-x4e09xff5ex516dx5c42">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;.gif" width="600" height="10" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42002">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-02.gif" width="141" height="83" alt="">
	</div>
	<div id="B06-03-21">
		<img src="images/B06/03/21.gif" width="24" height="58" alt="">
	</div>
	<div id="B06-03-23">
		<img src="images/B06/03/23.gif" width="23" height="58" alt="">
	</div>
	<div id="B06-03-25">
		<img src="images/B06/03/25.gif" width="23" height="58" alt="">
	</div>
	<div id="B06-03-27">
		<img src="images/B06/03/27.gif" width="22" height="58" alt="">
	</div>
	<div id="B06-03-29">
		<img src="images/B06/03/29.gif" width="24" height="58" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42008">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-08.gif" width="113" height="89" alt="">
	</div>
	<div id="B06-03-35">
		<img src="images/B06/03/35.gif" width="23" height="58" alt="">
	</div>
	<div id="B06-03-37">
		<img src="images/B06/03/37.gif" width="24" height="58" alt="">
	</div>
	<div id="B06-03-39">
		<img src="images/B06/03/39.gif" width="22" height="58" alt="">
	</div>
	<div id="B06-03-41">
		<img src="images/B06/03/41.gif" width="23" height="58" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42013">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-13.gif" width="138" height="83" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42014">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-14.gif" width="116" height="31" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42015">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-15.gif" width="92" height="31" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42016">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-16.gif" width="9" height="452" alt="">
	</div>
	<div id="B06-03-20">
		<img src="images/B06/03/20.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42018">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-18.gif" width="91" height="66" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42019">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-19.gif" width="92" height="66" alt="">
	</div>
	<div id="B06-03-42">
		<img src="images/B06/03/42.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42021">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-21.gif" width="5" height="452" alt="">
	</div>
	<div id="B06-03-22">
		<img src="images/B06/03/22.gif" width="24" height="60" alt="">
	</div>
	<div id="B06-03-24">
		<img src="images/B06/03/24.gif" width="23" height="60" alt="">
	</div>
	<div id="B06-03-26">
		<img src="images/B06/03/26.gif" width="23" height="60" alt="">
	</div>
	<div id="B06-03-28">
		<img src="images/B06/03/28.gif" width="22" height="60" alt="">
	</div>
	<div id="B06-03-30">
		<img src="images/B06/03/30.gif" width="24" height="60" alt="">
	</div>
	<div id="B06-03-31">
		<img src="images/B06/03/31.gif" width="38" height="60" alt="">
	</div>
	<div id="B06-03-32">
		<img src="images/B06/03/32.gif" width="38" height="60" alt="">
	</div>
	<div id="B06-03-33">
		<img src="images/B06/03/33.gif" width="37" height="60" alt="">
	</div>
	<div id="B06-03-34">
		<img src="images/B06/03/34.gif" width="23" height="60" alt="">
	</div>
	<div id="B06-03-36">
		<img src="images/B06/03/36.gif" width="24" height="60" alt="">
	</div>
	<div id="B06-03-38">
		<img src="images/B06/03/38.gif" width="22" height="60" alt="">
	</div>
	<div id="B06-03-40">
		<img src="images/B06/03/40.gif" width="23" height="60" alt="">
	</div>
	<div id="B06-03-19">
		<img src="images/B06/03/19.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-03-43">
		<img src="images/B06/03/43.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-03-17">
		<img src="images/B06/03/17.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42037">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-37.gif" width="19" height="386" alt="">
	</div>
	<div id="B06-03-18">
		<img src="images/B06/03/18.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42039">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-39.gif" width="384" height="386" alt="">
	</div>
	<div id="B06-03-44">
		<img src="images/B06/03/44.gif" width="39" height="33" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42041">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-41.gif" width="21" height="386" alt="">
	</div>
	<div id="B06-03-45">
		<img src="images/B06/03/45.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-03-15">
		<img src="images/B06/03/15.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-16">
		<img src="images/B06/03/16.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-46">
		<img src="images/B06/03/46.gif" width="39" height="34" alt="">
	</div>
	<div id="B06-03-47">
		<img src="images/B06/03/47.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-13">
		<img src="images/B06/03/13.gif" width="41" height="32" alt="">
	</div>
	<div id="B06-03-14">
		<img src="images/B06/03/14.gif" width="41" height="32" alt="">
	</div>
	<div id="B06-03-48">
		<img src="images/B06/03/48.gif" width="39" height="32" alt="">
	</div>
	<div id="B06-03-49">
		<img src="images/B06/03/49.gif" width="41" height="32" alt="">
	</div>
	<div id="B06-03-11">
		<img src="images/B06/03/11.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-12">
		<img src="images/B06/03/12.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-50">
		<img src="images/B06/03/50.gif" width="39" height="34" alt="">
	</div>
	<div id="B06-03-51">
		<img src="images/B06/03/51.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-09">
		<img src="images/B06/03/09.gif" width="41" height="32" alt="">
	</div>
	<div id="B06-03-10">
		<img src="images/B06/03/10.gif" width="41" height="32" alt="">
	</div>
	<div id="B06-03-52">
		<img src="images/B06/03/52.gif" width="39" height="32" alt="">
	</div>
	<div id="B06-03-53">
		<img src="images/B06/03/53.gif" width="41" height="32" alt="">
	</div>
	<div id="B06-03-07">
		<img src="images/B06/03/07.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-08">
		<img src="images/B06/03/08.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-54">
		<img src="images/B06/03/54.gif" width="39" height="34" alt="">
	</div>
	<div id="B06-03-55">
		<img src="images/B06/03/55.gif" width="41" height="34" alt="">
	</div>
	<div id="B06-03-05">
		<img src="images/B06/03/05.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-03-06">
		<img src="images/B06/03/06.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42065">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-65.gif" width="39" height="187" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42066">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-66.gif" width="41" height="187" alt="">
	</div>
	<div id="B06-03-03">
		<img src="images/B06/03/03.gif" width="41" height="32" alt="">
	</div>
	<div id="B06-03-04">
		<img src="images/B06/03/04.gif" width="41" height="32" alt="">
	</div>
	<div id="B06-03-01">
		<img src="images/B06/03/01.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-03-02">
		<img src="images/B06/03/02.gif" width="41" height="33" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42071">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-71.gif" width="41" height="89" alt="">
	</div>
	<div id="B06-L03-x4e09xff5ex516dx5c42072">
		<img src="images/B06/03/B06-L03-&#x4e09;&#xff5e;&#x516d;&#x5c42;-72.gif" width="41" height="89" alt="">
	</div>
</div>
<!-- End Save for Web Slices -->
</body>
</html>